package com.ruoyi.project.util;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/aaa")
@RestController
public class AutoCall {
    @Autowired
    AopService aopService;

    @RequestMapping("/bb")
    public void send() {


            String json = "{\"floor\":\"2\"},{\"lx\":\"1\"}";
            Result result = aopService.sendUrl("http://127.0.0.1:8098/Api/tb/floorTbMsg", "WMS-->LIMS接口数据", json, Result.class);
            System.out.println(result.toString());



    }


}
